<!-- Begin docs/view.tpl -->
<form method="post" action="?module=docs&action={$smarty.get.action}&sub=upd&did={$did}" enctype="multipart/form-data">
{opentable}
{titlebar colspan=6 title=$title}
{if $did > 0}
	<tr>
		<td colspan = 2><span class="small">{$lg->opened_by} {username id=$o_doc->cname} {$lg->on} {$o_doc->cdate|userdtime}</td>
	</tr>
{/if}
{$block}
{if $auth}
	<tr><td colspan = 2><input type="submit" name="save" class="button" value={$lg->save} /> {if permission_check("Docs-Dele")} <input type="submit" name="dele" class="button" value={$lg->dele} />{/if}</td>
	
	</tr>
{/if}
{if $did > 0}
	<tr>
		<td colspan = 2><span class="small">{$lg->last_modified} {$o_doc->mdate|userdtime} {$lg->by} {username id=$o_doc->uname} </td>
	</tr>
{/if}
</table>
</form>
<!-- End docs/view.tpl -->                                                                                                                          